#pragma once

#include <linux/compiler.h>

/**
 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
 *		      error message.
 * @condition: the condition which the compiler should know is false.
 *
 * See BUILD_BUG_ON for description.
 */
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)

#define BUILD_BUG_ON(condition)

#define BUILD_BUG()      \
    do                   \
    {                    \
        BUILD_BUG_ON(1); \
    } while (0)
